package com.dingyx.ps.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
@ApiModel("商家登录后台参数")
public class LoginByEnterprisePO implements Serializable {

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty("注册手机号")
    private String registerMobile;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("登录密码")
    private String password;
}
